<div class="body_box">                                                                 
        <div class="container">
            <div class="cell" style="width: 400px;">
                  <script type="text/javascript" src="{$scripts_dir}/nicedit/nicEdit.js"></script> 
                  <script type="text/javascript">
                  {literal}
                  //<![CDATA[
                        bkLib.onDomLoaded(function() { 
                            new nicEditor({iconsPath : scripts_dir + '/nicedit/nicEditorIcons.gif', buttonList : ['bold','italic','underline','strikeThrough','left','center','right','justify','ol','ul','hr','forecolor','bgcolor','removeformat']}).panelInstance('description');
                        });
                  //]]>
                  {/literal}                 
                  </script>                          
                <form method="{$form_method}" id="ajax_form" name="new_present_form" action="{$current_location}/{$index_script}?id={$smarty.session.id}&{$place_name}=presents_ajax&{$mode_name}=add&ajax=yes" accept-charset="utf-8">
                    <input type="hidden" name="pr[uploaded_img]" value="" id="uploaded_img"> 
                    <p>
                    <label>{$lang.pr_name_hint}</label>
                    {if $smarty.const.MULTIPLE_AMOUNT}<label style="float: right;">{$lang.pr_count_hint}</label>{/if} 
                    <input class="input-text" name="pr[name]" maxlength="100" style="width: 78%; font-weight: bold;" title="{$lang.pr_name_hint}" />
                    {if $smarty.const.MULTIPLE_AMOUNT}
                    <input class="input-text" name="pr[amount]" maxlength="100" style="width: 16%;" title="{$lang.pr_count_hint}" /> 
                    {/if}
                    </p>
                    <p>
                    <label>{$lang.pr_occasion_hint}</label><label style="float: right;">{$lang.pr_occasion_date_hint}</label><br> 
                    <input class="input-text" name="oc[name]" maxlength="190" style="width: 78%;" title="{$lang.pr_occasion_hint}" />
                        <script type="text/javascript">
                        {literal}
                        //<![CDATA[
                            $(document).ready(function(){
                                $("#calendar").datepicker({ changeMonth: true, changeYear: true});
                                $('#ui-datepicker-div').hide(); /*   добавил, чтобы убрать появляющийся пустой прямоугольник при инициализации календаря (какой-то глюк похоже)   */
                            });
                        //]]>
                        {/literal}
                        </script>                       
                    <input class="input-text" name="oc[date]" maxlength="10" style="width: 16%;" title="{$lang.pr_occasion_date_hint}" id="calendar" />
                    </p>
                    <p>
                    <label>{$lang.pr_link_hint}</label>
                    <input class="input-text" name="pr[link]" maxlength="100" style="width: 78%;" title="{$lang.pr_link_hint}" />
                    </p>
                    <label>{$lang.pr_desc_hint}</label>
                    <textarea name="pr[description]" id="description" style="width: 100%; height: 150px;" title="{$lang.pr_desc_hint}"></textarea>                    
                    <br><br>

                    <center>{include file="button.tpl" name=$lang.add_present_btn submit=true href="nicEditors.findEditor('description').saveContent();"}</center>
                </form>
            </div>
            <div class="cell" style="width: 390px; padding-left: 10px;">
                <center>{include file="select_image.tpl"}</center>
            </div>
        </div>
</div>